    <td><?php echo link_to($physical_qty->getPsno() ? $physical_qty->getPsno() : __('-'), 'physicalqty/edit?id='.$physical_qty->getId()) ?></td>
    <td><?php echo link_to($physical_qty->getComponentgroupId() ? image_tag('/sf/sf_admin/images/list.png', array('alt' => 'List', 'title' => 'List')):  __('-'), 'component/SLListModuleGroup?componentgroup_id='.$physical_qty->getComponentgroupId().'&Authentication=VIEW_PHSQTY&backURL=physicalqty~1list~2id~4'.$physical_qty->getId().'&titleqty=Physical Qty&titleqty2=Closing&NotShowDate=1') ?></td>
      <td><?php echo ($physical_qty->getCreatedAt() !== null && $physical_qty->getCreatedAt() !== '') ? format_date($physical_qty->getCreatedAt(), "D") : '' ?></td>
  